/*
 * ADC.h
 *
 *  Created on: 2012.12.21.
 *      Author: AnnaBaba
 */

#include "stm32f4xx.h"

#ifndef ADC_H_
#define ADC_H_

#define ADC1_DR_ADDRESS     ((uint32_t)ADC1_BASE + 0x4C)
#define ADC2_DR_ADDRESS     ((uint32_t)ADC2_BASE + 0x4C)
#define ADC3_DR_ADDRESS     ((uint32_t)ADC3_BASE + 0x4C)

void ADC_Initialize();
void ADC_ChangeChannel(uint8_t ADC1channel, uint8_t ADC2channel, uint8_t ADC3channel);

#endif /* ADC_H_ */
